package com.my.study.designPatterns.adapterPattern;

import java.util.Comparator;

/**
 * 对象适配器
 */
public class AdapterTurkeyTest {

    public static void main(String[] args) {


        Turkey turkey = new WildTurkey();
        AdapterTurkey adapterTurkey = new AdapterTurkey(turkey);

        adapterTurkey.fly();

        adapterTurkey.quack();

    }
}
